package com.manlost.biz.tag.query;

import com.manlost.biz.common.query.ListQuery;
import com.manlost.biz.tag.model.constants.TagInfoStatus;

/**
 * 类ListTagGroupQuery.java的实现描述：TODO 类实现描述
 * 
 * @author xiaochuan.luxc 2012-3-31 下午7:10:06
 */
public class ListTagGroupQuery extends ListQuery {

    private static final long serialVersionUID = 5580700805473465613L;

    private String            status;

    public ListTagGroupQuery() {
    }

    public ListTagGroupQuery(String status) {
        this.status = status;
    }

    public ListTagGroupQuery(TagInfoStatus status) {
        this.status = status.getValue();
    }

    @Override
    public boolean validate() {
        return true;
    }

    /**
     * @return the status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(String status) {
        this.status = status;
    }

    public void setStatus(TagInfoStatus status) {
        this.status = status.getValue();
    }

}
